package com.example.foobar.dao.service;

import com.example.foobar.entity.DyVideo;
import com.example.foobar.param.DyVideoPageParam;
import com.example.foobar.vo.DyVideoQueryVo;
import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

/**
 * 抖音视频内容 服务类
 *
 * @author 郑英奔
 * @since 2021-07-23
 */
public interface DyVideoDaoService extends BaseService<DyVideo> {

    /**
     * 保存
     *
     * @param dyVideo
     * @return
     * @
     */
    boolean saveDyVideo(DyVideo dyVideo) ;

    /**
     * 修改
     *
     * @param dyVideo
     * @return
     * @
     */
    boolean updateDyVideo(DyVideo dyVideo) ;

    /**
     * 删除
     *
     * @param id
     * @return
     * @
     */
    boolean deleteDyVideo(Long id) ;


    /**
     * 获取分页对象
     *
     * @param dyVideoQueryParam
     * @return
     * @
     */
    Paging<DyVideoQueryVo> getDyVideoPageList(DyVideoPageParam dyVideoPageParam) ;

}
